package com.net.xpay.common.domain.stat;

import com.net.common.domain.CommonDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 统计用户安全付每月的交易数据
 **/
@Setter
@Getter
@NoArgsConstructor
public class UserSafePayTransMonthStat extends CommonDomain {

    @ApiModelProperty(notes = "月份")
    private Integer month;

    @ApiModelProperty(notes = "年份")
    private Integer year;

    @ApiModelProperty(notes = "用户id")
    private Long userId;

    @ApiModelProperty(notes = "合伙人id")
    private Long partnerId;

    @ApiModelProperty(notes = "父级合伙人id")
    private Long fatherPartnerId;

    @ApiModelProperty(notes = "批次总金额，单位为元，精确到小数点后两位，取值范围[0.01,9999999999999.99]  必选")
    private String totalTransAmount;

    @ApiModelProperty(notes = "批次总笔数 10 必选")
    private Long totalCount;

    @ApiModelProperty(notes = "成功金额 单位为元")
    private String successAmount;

    @ApiModelProperty(notes = "成功笔数")
    private Long successCount;

    @ApiModelProperty(notes = "失败金额")
    private String failedAmount;

    @ApiModelProperty(notes = "失败笔数")
    private Long failCount;

    @ApiModelProperty(notes = "成功到卡的金额")
    private String successBankAmount;

    @ApiModelProperty(notes = "成功到卡的笔数")
    private Long successBankCount;

    @ApiModelProperty(notes = "成功到支付宝的金额")
    private String successAlipayAmount;

    @ApiModelProperty(notes = "成功到支付宝的笔数")
    private Long successAlipayCount;

    //收费部分
    @ApiModelProperty(notes = "不免费的金额")
    private String notFreeSuccessAmount;

    @ApiModelProperty(notes = "不免费的笔数")
    private Long notFreeSuccessCount;

    @ApiModelProperty(notes = "不免费部分到卡的金额")
    private String notFreeSuccessBankAmount;

    @ApiModelProperty(notes = "不免费部分到卡的笔数")
    private Long notFreeSuccessBankCount;

    @ApiModelProperty(notes = "不免费部分成功到支付宝的金额")
    private String notFreeSuccessAlipayAmount;

    @ApiModelProperty(notes = "不免费部分的成功到卡的金额")
    private Long notFreeSuccessAlipayCount;

    @ApiModelProperty(notes = "一级合伙人总收益 分")
    private Long totalPartnerBenefit;

    @ApiModelProperty(notes = "二级合伙人总收益 分")
    private Long totalFatherPartnerBenefit;

    @ApiModelProperty(notes = "平台总收益 分")
    private Long totalPlatformBenefit;

    @ApiModelProperty(notes = "最终服务费 分")
    private Long finalServicePrice;
}
